<!--
 * @Author: lz08 liuzheng@ceepower.com
 * @Date: 2022-11-30 14:58:10
 * @LastEditors: lz08 liuzheng@ceepower.com
 * @LastEditTime: 2022-12-03 17:08:06
 * @FilePath: \vue3-ts-cms\src\views\index\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div @click="goNav">index</div>
</template>

<script lang="ts">
import { defineComponent, reactive } from "vue";
import { useRouter } from "vue-router";
export default defineComponent({
  setup() {
    const router = useRouter();
    function goNav() {
      router.push("/");
    }
    return { goNav };
  },
});
</script>

<style>
</style>